<?php
defined('IN_PHPCMS') or exit('Access Denied');
defined('INSTALL') or exit('Access Denied');

$parentid = $menu_db->insert(array('name'=>'pointcard', 'parentid'=>29, 'm'=>'pointcard', 'c'=>'admin_pointcard', 'a'=>'init', 'data'=>'s=1', 'listorder'=>0, 'display'=>'1'), true);
$menu_db->insert(array('name'=>'pointcard_add', 'parentid'=>$parentid, 'm'=>'pointcard', 'c'=>'admin_pointcard', 'a'=>'add', 'data'=>'', 'listorder'=>0, 'display'=>'0'));
$menu_db->insert(array('name'=>'pointcard_edit', 'parentid'=>$parentid, 'm'=>'pointcard', 'c'=>'admin_pointcard', 'a'=>'edit', 'data'=>'s=1', 'listorder'=>0, 'display'=>'0'));
$menu_db->insert(array('name'=>'pointcard_used', 'parentid'=>$parentid, 'm'=>'pointcard', 'c'=>'admin_pointcard', 'a'=>'init', 'data'=>'s=2', 'listorder'=>0, 'display'=>'1'));
$menu_db->insert(array('name'=>'pointcard_overdue', 'parentid'=>$parentid, 'm'=>'pointcard', 'c'=>'admin_pointcard', 'a'=>'init', 'data'=>'s=3', 'listorder'=>0, 'display'=>'1'));

$language = array('pointcard'=>'点卡', 'pointcard_add'=>'添加点卡', 'pointcard_edit'=>'编辑点卡', 'pointcard_used'=>'已使用点卡', 'pointcard_overdue'=>'已过期点卡');
?>